#!/bin/sh

if test "`whoami`" != "root" ; then
	echo "You must be logged in as root for loopback unmounting"
	echo "Enter 'su' or 'sudo bash' to switch to root"
	exit
fi


echo ">>> Unmounting loopback floppy..."

umount tmp-loop || exit

rm -rf tmp-loop

umount tmp-loop2 || exit

rm -rf tmp-loop2
